﻿using Shop.Model.DB;
using Shop.RemoteModel.GoodsSpec.Model;

namespace Shop.Repository
{
    public interface IGoodsSkuStateRepository : IShopBaseRepository<DBGoodsSkuState, long>
    {
        void Add (SkuStateSet add);
        bool CheckIsNoEnable (long[] skuId);
        Dictionary<string, bool> GetsSkuState (long goodsId);
        void SetIsEnable (long id, bool isEnable);

        long[] GetNoEnable (long[] skuId);
    }
}